home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / security / xinetd / sio.1.5.6 / Config / umipsbsd-config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-09  |  2.3 KB  |  87 lines

  1. /*
  2.  * (c) Copyright 1992 by Panagiotis Tsirigotis
  3.  * All rights reserved.  The file named COPYRIGHT specifies the terms 
  4.  * and conditions for redistribution.
  5.  */
  6.  
  7. /*
  8.  * $Id: umipsbsd-config.h,v 7.3 1992/06/22 20:23:18 panos Exp $
  9.  */
  10.  
  11. /*
  12.  * UMIPS-BSD configuration file. This OS is a BSD 4.3 derivative
  13.  */
  14.  
  15. /*
  16.  * NOTE: ALL BINARY FLAGS MUST BE EITHER define'd OR undef'ed.
  17.  *           DO NOT SKIP FLAGS; undef THEM
  18.  */
  19.  
  20.  
  21. /************************ MEMORY MAPPING ****************************/
  22.  
  23. /*
  24.  * Either define or undef MEMORY_MAP
  25.  * If you define it, you must also define the memory mapping interface
  26.  * functions: SIO_MMAP, SIO_MUNMAP, SIO_MNEED
  27.  * SIO_MNEED is not necessary; if your OS does not support it
  28.  * define it to nothing.
  29.  */ 
  30. #undef MEMORY_MAP
  31.  
  32. /************************ FINALIZATION CODE ****************************/
  33.  
  34. /*
  35.  * Either define or undef HAS_FINALIZATION
  36.  * If you define it, you must define the macros SIO_FINALIZE
  37.  * and SIO_DEFINE_FIN
  38.  * SIO_FINALIZE has a function as an argument and its value
  39.  * is an expression whose value is TRUE if the finalization function
  40.  * was successfully installed
  41.  * SIO_DEFINE_FIN has a function as an argument and created an
  42.  * appropriate function definition.
  43.  */
  44. #undef HAS_FINALIZATION_FUNCTION
  45.  
  46.  
  47. /************************ GENERAL CONSTANTS ****************************/
  48.  
  49. /*
  50.  * Define at most 1 of the following two flags
  51.  */
  52. #undef HAS_MEMOPS
  53. #define HAS_BCOPY
  54.  
  55. /*
  56.  * Define HAS_ISATTY if the function isatty( fd ) exists in the C library
  57.  */
  58. #define HAS_ISATTY
  59.  
  60. /*
  61.  * N_SIO_DESCRIPTORS is the maximum number of file descriptors
  62.  * supported by the OS
  63.  */
  64. #include <sys/param.h>
  65. #define N_SIO_DESCRIPTORS            NOFILE
  66.  
  67. /************************ SPRINT CONSTANTS ****************************/
  68.  
  69. /*
  70.  * SMALLEST_INT:     smallest integer the machine can represent
  71.  * S_SMALLEST_INT:   the smallest integer as a string
  72.  * S_SMALLEST_INT_LEN: length of string containing smallest integer
  73.  *
  74.  * These constants depend on the word size of the CPU and the
  75.  * type of arithmetic (1's or 2's complement).
  76.  */
  77.  
  78. #define SMALLEST_INT                (-2147483648)
  79. #define S_SMALLEST_INT              "2147483648"      /* note: no '-' sign */
  80. #define S_SMALLEST_INT_LEN          10
  81.  
  82. /*
  83.  * Define LONG_IS_BIGGER is sizeof( long ) != sizeof( int )
  84.  */
  85. #undef LONG_IS_BIGGER
  86.  
  87.